package com.exam.mysql;

import com.exam.entity.SysSubject;
import com.exam.entity.SysSubjectExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SysSubjectDao {
    long countByExample(SysSubjectExample example);

    int deleteByExample(SysSubjectExample example);

    int deleteByPrimaryKey(Integer subid);

    int insert(SysSubject record);

    int insertSelective(SysSubject record);

    List<SysSubject> selectByExample(SysSubjectExample example);

    SysSubject selectByPrimaryKey(Integer subid);

    int updateByExampleSelective(@Param("record") SysSubject record, @Param("example") SysSubjectExample example);

    int updateByExample(@Param("record") SysSubject record, @Param("example") SysSubjectExample example);

    int updateByPrimaryKeySelective(SysSubject record);

    int updateByPrimaryKey(SysSubject record);

    /**
     * 这是Mybatis Generator拓展插件生成的方法(请勿删除).
     * This method corresponds to the database table sys_subject
     *
     * @mbg.generated
     * @author hewei
     */
    int batchInsert(@Param("list") List<SysSubject> list);
}